/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test.alan.hyperblobs;

/**
 *
 * @author Michael Zhang
 */
public interface ILevelUpdates {

    /**
     * The causes of Blob death
     */
    @SuppressWarnings("PublicInnerClass")
    public enum BlobDeathCause {

        /**
         * Death by a spike
         */
        Spike;
    }

    /**
     * The powerups a Blob can have
     */
    @SuppressWarnings("PublicInnerClass")
    public enum BlobPowerups {

        /**
         * The blob cannot die
         */
        Invincibility;
    }

    /**
     * Called when the Blob dies.
     *
     * @param cause The cause of death
     */
    public void onBlobDeath(BlobDeathCause cause);

    /**
     * Called when the Blob reaches the finish.
     */
    public void onBlobFinish();

    /**
     * Called when the Blob collects a star.
     */
    public void onBlobCollectStar();

    /**
     * Called when the Blob receives a powerup.
     *
     * @param powerup The powerup received
     */
    public void onBlobCollectPowerup(BlobPowerups powerup);
}
